package Com.amit.Reflection;

class Simple
{
	
}

public class Lab2 {
	
	public void printname(Object obj)
	{
		Class c=obj.getClass();
		System.out.println(c.getName());
	}

	public static void main(String[] args) {
		
		Simple s=new Simple();
		
		Lab2 l=new Lab2();
		l.printname(s);
		
		
		
		
	}

}
